﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Com.Rivyer.Web
{
    public partial class test : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void ASPxButton1_Click(object sender, EventArgs e)
        {
            /*
            //把monitor中的数据更新到ipadress表中
            foreach (Model.monitorModel model in new BLL.monitorBll().GetModelList("id > 0"))
            {
                if (model.ip != null && Maticsoft.Common.PageValidate.IsIp(model.ip))
                {
                    Model.ipaddressModel ipmodel = new Model.ipaddressModel();
                    ipmodel.department = model.department;
                    ipmodel.description = "监控";
                    ipmodel.ip = model.ip;
                    ipmodel.modifydate = DateTime.Now;
                    ipmodel.usedinternet = 1;
                    ipmodel.usedperson = model.address;
                    ipmodel.id = int.Parse(new BLL.ipaddressBll().GetList(1, string.Format("ip = '{0}'", model.ip), "id").Tables[0].Rows[0]["id"].ToString());
                    ipmodel.organization = "";
                    new BLL.ipaddressBll().Update(ipmodel);
                }
            } 
             */
        }


    }
}